package Test;



import org.junit.Test;

import entity.Users;
import junit.framework.Assert;
import service.UsersDAO;
import service.impl.UesrsDAOImplement;;

public class serviceImplement {
	
	@Test
     public void testUsersDAO() {
    	 Users users = new Users();
    	 users.setUserid(1);
    	 users.setUsername("wangjunjie");
    	 users.setPassword("123456");
    	 
    	 UsersDAO uDao = new UesrsDAOImplement();
    	 Assert.assertEquals(true,uDao.usersLogin(users));
		
	}
}
